package com.base.cn.platform.os.entity.manage.login;

import com.base.cn.platform.os.common.mybatis.BaseEntity;
import com.base.cn.platform.os.entity.manage.user.SysUser;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 登录日志实体
 *
 * @author s.li
 * @create 2018-02-05 15:59
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SysLoginLog extends BaseEntity {
    /**用户ID*/
    private BigDecimal userId;
    /**登录IP*/
    private String loginIp;
    /**登录地址*/
    private String address;
    /**操作系统名*/
    private String osName;
    /**登录浏览器*/
    private String userAgent;

    //==================
    private SysUser sysUser;

    //============= 查询条件 ============
    /**开始时间*/
    private String startTime;
    /**结束时间*/
    private String endTime;
}
